package com.marvels.loanapply.consum;

import java.util.List;
import java.util.Map;

import com.marvels.loanapply.customer.dto.SendMsgDTO;
import com.marvels.loanapply.customer.dto.SmsTemplateNew;
import com.marvels.loanapply.customerservice.dto.UserBankDTO;

public interface LoanapplyConsumerDubboApi {
	/**
	 * 分页查询贷款信息
	 * @param map
	 * @return
	 */
	public Map<String,Object> queryLoanInfoByCondition(Map<String,Object> map);
	
	/**
	 * 获取银行卡信息
	 * @param map
	 * @return
	 */
	public List<UserBankDTO> selectUserBankInfo(Map<String,Object> map);
	
	/**
	 * 发送短信
	 * @param sendMsgDTO
	 * @return
	 */
	public boolean sendMsg(SendMsgDTO sendMsgDTO);
	
	/**
	 * 获取短信模板
	 * @param sendMsgDTO
	 * @return
	 */
	public SmsTemplateNew getSmsTemplateNew(SendMsgDTO sendMsgDTO);

}
